package com.hjduan.spring.cloud.eureka;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
/**
 * 启动一个服务注册中心
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaApplicationConfiguration {
    public  static void main (String[]args){
        new SpringApplication(EurekaApplicationConfiguration.class).run(args);
    }
}
